package twoD.IsoPfem.math;

/**
 * Implementing the bilinear form one (Bf1)
 * bf1(u, v) = int u(x) * v(x) dx 
 * where int stands for integration over the domain of u, v. 
 * 
 * Author: Team4
 */
public class Bf1 implements BilinearFormOnRToR {
	public double valueAt(FunctionRToR u, FunctionRToR v) {
		FunctionRToR w = FMath.multiply(u, v);
		return Integrator.integrate(w);
	}
}